﻿
using Microsoft.Extensions.Configuration;

namespace WIMI.BTL.BTLMongoDB.Configuration
{
    internal class AbpMongoDbModuleConfiguration : IAbpMongoDbModuleConfiguration
    {
 
        public string ConnectionString { get; set; }

        public string DatatabaseName { get; set; }

        public AbpMongoDbModuleConfiguration(IConfiguration configuration)
        {
            this.ConnectionString = configuration["MongoSettings:Connection"];
            this.DatatabaseName = configuration["MongoSettings:Connection"];
        }
    }
}